﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QLACQUY
{
    public partial class QLACQUY : Form
    {
        public QLACQUY()
        {
            InitializeComponent();
        }

        private void thêmToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ThemPhieuGiaoHang frm = new ThemPhieuGiaoHang();
            frm.Show();
        }

        private void quảnLýToolStripMenuItem_Click(object sender, EventArgs e)
        {
            QuanLyPhieuGiaoHang frm = new QuanLyPhieuGiaoHang();
            frm.Show();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Bạn chắc chắn muốn thoát?", "Xác nhận", MessageBoxButtons.YesNo) == DialogResult.Yes)
                this.Dispose();
        }

        private void thêmToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ThemSanPham frm = new ThemSanPham();
            frm.Show();
        }

        private void quảnLýToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            QuanLySanPham frm = new QuanLySanPham();
            frm.Show();
        }

        private void QLACQUY_Load(object sender, EventArgs e)
        {
            //if (!System.IO.Directory.Exists(Global.appFolder))
                //System.IO.Directory.CreateDirectory(Global.appFolder);
        }
    }
}
